package com.itheima.finaldemo;

public class Demo01 {

    public static void main(String[] args) {
      final int a=10;
      final  Student student = new Student("鹿晗");
       // student=new Student("吴签");
        student.setName("吴签");


    }
}
class  Student{
    private String name;

    public Student() {
    }

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                '}';
    }
}